home *** CD-ROM | disk | FTP | other *** search
- Subject: Bug in FW_CTime
- Sent: 6/20/96 7:32 PM
- Received: 6/24/96 8:26 AM
- From: Harald Boettcher, 100740.477@compuserve.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Bug-Report
-
- Release Version: ODF Release 1
-
- Severity: Needs fixing
-
- Problem Description:
- GetDateString returns wrong date string.
-
- File FWTime.cpp:
- Bug in FW_CTime::MacConvertMacTimeToODTime:
- line 197 is: dateTime.tm_year = macDateTime.year - 1904 + 1900;
- must be: dateTime.tm_year = macDateTime.year - 1900;
-
- Bug in FW_CTime::MacConvertODTimeToMacTime:
- line 219 is: macDateTime.year = dateTime->tm_year - 1900 + 1904;
- must be: macDateTime.year = dateTime->tm_year + 1900;
-
-
- Harald Boettcher
- Hamburg
-